home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Files
/
FileID.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
433b
|
29 lines
// FileID.h
#ifndef FileID_h
#define FileID_h
#ifndef Integers_h
#include "Integers.h"
#endif
class FileID
{
private:
int32 id;
FileID( int32 value )
: id( value )
{}
public:
static FileID Make( int32 value ) { return value; }
int32 ID() const { return id; }
bool operator==( FileID f ) const { return id == f.id; }
bool operator!=( FileID f ) const { return id != f.id; }
};
#endif